package com.yunxi.dealer.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.core.web.LoginInfo;
import com.yunxi.dealer.pojo.PartnerTwonetsVO;

import java.lang.reflect.InvocationTargetException;

/**
 * <p>
 * 经销商二网信息 服务类
 * </p>
 *
 * @author
 * @since 2019-05-20
 */
public interface PartnerTwonetsDubboService {

   PartnerTwonetsVO getById(String id) throws InvocationTargetException, IllegalAccessException;

   void saveOrUpdate(PartnerTwonetsVO partnerTwonetsVO) throws InvocationTargetException, IllegalAccessException;

   void removeById(String id, String partnerCode, LoginInfo loginInfo) throws Exception;

   PageInfo<PartnerTwonetsVO> findPageByVO(PartnerTwonetsVO partnerTwonetsVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException;

}
